<script type="text/ng-template" id="menuUpdatePop.html">
    <section class="content">
        <div class="row">
            <div class="col-xs-12">
                <div class="box">
                    <m-form form-save="buttonsClick('save')" form-back="buttonsClick('cancel')"
                            is-save-show="{{info.status !='view'}}" is-back-show="{{info.status !='view'}}">
                        <m-form-lable>
                            <m-form-line label="菜单ID">
                                <winit-text ng-if="info.status=='ADD'" textdata="info.menu_id"
                                            text-required="true"></winit-text>
                                <span ng-if="info.status!='ADD'">{{info.menu_id}}</span>
                            </m-form-line>
                            <m-form-line label="标题">
                                <winit-text textdata="info.title" text-required="true"></winit-text>
                            </m-form-line>
                            <m-form-line label="权限id">
                                <winit-text textdata="info.right_id" text-required="true"></winit-text>
                            </m-form-line>
                            <m-form-line label="路径">
                                <span>{{info.path}}</span>
                            </m-form-line>
                            <m-form-line label="front">
                                <span>true</span>
                            </m-form-line>
                            <m-form-line label="层级">
                                <span>{{info.level}}</span>
                            </m-form-line>
                            <m-form-line label="页面/菜单">
                                <span ng-if="info.level!=3">菜单</span>
                                <span ng-if="info.level==3">页面</span>
                            </m-form-line>
                        </m-form-lable>
                    </m-form>
                </div>
            </div>
        </div>
    </section>
</script>
